﻿#include "modechoose.h"
#include "ui_modechoose.h"

ModeChoose::ModeChoose(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::ModeChoose)
{
    ui->setupUi(this);
    this->setWindowTitle("模式选择");
}

ModeChoose::~ModeChoose()
{
    delete ui;
}

void ModeChoose::on_pushButton_clicked()
{
    this->hide();
    emit singleMode();
}

void ModeChoose::on_pushButton_2_clicked()
{
    this->hide();
    emit multiMode();
}

void ModeChoose::on_pushButton_3_clicked()
{
    this->hide();
    emit returnDlg();
}
